#include<stdio.h>
#include<assert.h>
char* my_strcpy(char* dest, const char* sour) {
	//assert(dest && sour);    //判断指针的有效性
	char* ret = dest;
	while (*dest++ = *sour++) {
		;
	}
	return ret;
}
int main() {
	char arr1[20] = { 0 };
	char* arr2 = "hello";
	char* p = my_strcpy(arr1, arr2);
	printf("%s\n", p);
	return 0;
}
